package com.example.spzs.mapper;

import com.example.spzs.pojo.goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface goodsMapper {
    List<goods> queryAll();
    List<goods> queryByLikeName(String name);
    int deleteGoods(String name);
    int deleteAll();
    int insertGoods(goods goods);
}
